package com.yc.sole.erp.request;

import com.yc.sole.framework.validate.SaveGroup;
import com.yc.sole.framework.validate.UpdateGroup;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Set;

/**
 * @author yizuomin
 * @date 2024/3/7 20:07
 **/
@Data
public class ProcessEmployeeReq {

    /**
     * 工序id
     */
    @NotNull(groups = {SaveGroup.class, UpdateGroup.class})
    private Long processId;
    /**
     * 员工id
     */
    @NotEmpty(groups = {SaveGroup.class, UpdateGroup.class})
    private Set<Long> employeeIds;
}
